﻿namespace FDEE.Model
{
    public class MWaveRebarRecord : RebarBase
    {
        //public int A, n, C, r, d;

        /// <summary>
        /// MA 型钢筋长度重量计算 - 直筋，可能存在两端搭接和锚固承台（其他构件）
        /// </summary>
        /// <param name="mBarMark">钢筋主编号，例如1</param>
        /// <param name="sBarMark">钢筋次编号，例如1.1，默认为0</param>
        /// <param name="cBarMark">钢筋字符编号，例如1a，默认为空</param>
        /// <param name="diameter">钢筋直径，按eDB选取</param>
        /// <param name="A">外边缘到外边缘长度</param>
        /// <param name="n">弯钩长度</param>
        /// <param name="r">折减圆弧长度</param>
        /// <param name="d">钢筋直径</param>
        /// <param name="quantity">数量</param>
        /// <param name="shapeConfig"></param>
        public MWaveRebarRecord(int mBarMark, int sBarMark, string cBarMark, eDB diameter,
            int a, int lx, int b, int length, int quantity, string formula, eShapeType shapeConfig)
            : base(mBarMark, sBarMark, cBarMark, diameter, quantity, shapeConfig)
        {
            A = a;
            this.A = a;
            this.r = 20;
            this.Lx = lx;
            this.B = b;
            this.Formula = formula;
            this.Length = length * 0.001;
        }

        public override void SetLength()
        {
            ;
        }
    }

}
